package cn.maxhou.service.impl;

import cn.maxhou.entity.SysUser;
import cn.maxhou.mapper.SysUserMapper;
import cn.maxhou.service.SysUserService;

import java.util.List;

public class SysUserServiceImpl2 implements SysUserService {
    private SysUserMapper sysUserMapper;
    @Override
    public List<SysUser> findgList(SysUser sysUser) {
        return sysUserMapper.getSysUserList(sysUser);
    }

    @Override
    public int saveBatch(List<SysUser> sysUserList) {
        return 0;
    }

    //提供setter方法用于注入属性
    public void setSysUserMapper(SysUserMapper sysUserMapper) {
        this.sysUserMapper = sysUserMapper;
    }
}
